package com.testmanager.testmananger.shuiyou.strCompare.domain;


import com.testmanager.testmananger.foundation.domain.AbstractAuditingEntity;
import com.testmanager.testmananger.shuiyou.common.myAnnotation.MyColumn;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Data
@Accessors(chain = true)
@Table(name = "sy_sqlcomparescript")
public class SySqlCompareScriptEntity extends AbstractAuditingEntity implements Serializable {
    private static final long serialVersionUID = 4164654011994959680L;


//    id
//            strCompareid
//    srcSql:
//    destSql
//    anchor(比较的前提，需要查询结果中此值相同)

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private long id;

    @Column
    private long projectid;


    @Column
    private String name;
    @Column(name = "moudulename")
    private String mouduleName;

    @Column(length = 256,name = "comment_")
    private String  comment;
    @Column
    private String type;

    @Column(name = "srcsql",length = 2048)
    private String srcSql;
    @Column(name = "destsql",length = 2048)
    private String destSql;


    @Column
    private int status;

    @Column
    private String scriptno;


}
